.TH MSTPRIVHOST "1" "March 2020" "mstflint" "User Commands"
.SH NAME
mstprivhost \- privilege modification tool
.SH DESCRIPTION
usage: mstprivhost [\-h] [\-v] \fB\-\-device\fR DEVICE [\-\-disable_rshim]
.IP
[\-\-disable_tracer] [\-\-disable_counter_rd]
[\-\-disable_port_owner]
{r,restrict,p,privilege}
.PP
restrict or privilege host
Note: New configurations takes effect immediately.
Note: privileged host \- host has all supported privileges.
.IP
restricted host \- host is not allowed to modify global
per port/parameters or access other hosts parametersis.
.SS "optional arguments:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-v\fR, \fB\-\-version\fR
show program's version number and exit
.SH OPTIONS
.TP
\fB\-\-device\fR DEVICE, \fB\-d\fR DEVICE
Device to work with.
.TP
\fB\-\-disable_rshim\fR
When TRUE, the host does not have an RSHIM function
to access the embedded CPU registers
mlxconfig_name: HOST_DISABLE_RSHIM
.TP
\fB\-\-disable_tracer\fR
When TRUE, the host will not be allowed to own the Tracer
mlxconfig_name: HOST_DISABLE_TRACER_OWNER
.TP
\fB\-\-disable_counter_rd\fR
When TRUE, the host will not be allowed to read Physical port counters
mlxconfig_name: HOST_DISABLE_PORT_COUNTER
.TP
\fB\-\-disable_port_owner\fR
When TRUE, the host will not be allowed to be Port Owner
mlxconfig_name: HOST_DISABLE_PORT_OWNER
.SS "Commands:"
.IP
{r,restrict,p,privilege}
.TP
restrict:
Set host 1 (ARM) privileged, host 0 (x86_64) restricted.
.IP
privilege: Set host 1 (ARM) privileged, host 0 (x86_64) privileged
.IP
(back to default).
.SH "SEE ALSO"
mstflint(1)
